package com.dx.financehy.modules.conf.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dx.financehy.base.SuperCommonEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 微信小程序供应商表
 * </p>
 *
 * @author cml
 * @since 2022-06-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("conf_miniapp_vendor")
public class MiniappVendorEntity extends SuperCommonEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 医院id
     */
    @TableField("hospital_id")
    private String hospitalId;

    /**
     * 医院名称
     */
    @TableField("hosp_name")
    private String hospName;

    /**
     * 小程序AppId
     */
    @TableField("app_id")
    private String appId;

    /**
     * 小程序AppSecret
     */
    @TableField("app_secret")
    private String appSecret;

    /**
     * 设置微信小程序消息服务器配置的token
     */
    @TableField("token")
    private String token;

    /**
     * 设置微信小程序消息服务器配置的EncodingAESKey
     */
    @TableField("aes_key")
    private String aesKey;

    /**
     * 消息格式，XML或者JSON
     */
    @TableField("msg_data_format")
    private String msgDataFormat;

}
